<ion-content>
    <div class="identity-page">
        <div class="identity-header">
            <div class="identity-title">请选择您的身份</div>
            <div class="identity-sub-title">根据选择为您提供精准服务</div>
        </div>
        <div class="identity-item" (click)="choseIdentity(1)">
            <img *ngIf="currentIdentity === 1" class="icon-checked" src="./assets/image/icon/icon-checked.jpeg"/>
            <img *ngIf="currentIdentity === 1" class="identity-img" src="./assets/image/user/img-doctor.png" alt="">
            <img *ngIf="currentIdentity !== 1" class="identity-img" src="./assets/image/user/img-doctor-o.png" alt="">
            <div class="identity-item-description">我是医生</div>
        </div>
        <div class="identity-item" (click)="choseIdentity(2)">
          <img *ngIf="currentIdentity === 2" class="icon-checked" src="./assets/image/icon/icon-checked.jpeg"/>
          <img *ngIf="currentIdentity === 2" class="identity-img" src="./assets/image/user/img-nurse.png" alt="">
          <img *ngIf="currentIdentity !== 2" class="identity-img" src="./assets/image/user/img-nurse-o.png" alt="">
            <div class="identity-item-description">我是护士</div>
        </div>
        <div class="identity-footer">
            <button class="primary-btn" (click)="goToPage('register')">下一步</button>
        </div>
    </div>
</ion-content>
